package com.etc.SendAndRecive;

import java.net.Socket;

public class Client {
    private static String host = "localhost";
    private static int port = 10086;
    private static String filePath = "C:/Users/Administrator/Desktop/2.exe";

    public static void main(String[] args) {
        try {
            Socket socket = new Socket(host, port);
            FileTransfer.Receive(socket, filePath);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
